﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services;
using FwProject.Car.Dto;
using Microsoft.AspNetCore.Mvc;

namespace FwProject.Car
{
    public interface ICarMapAppService: IApplicationService
    {
        Task<Guid> Create(CarMapInput input);


        Task Update(Guid id, CarMapInput input);

        Task Delete(Guid id);

        [HttpGet]
        Task<CarMapDto> GetByIdAsync(Guid id);

        [HttpGet]
        Task<X.PagedList.IPagedList<CarMapDto>> GetPagedListAsync(int pageIdx, int pageSize);
    }
}
